package com.iespring.service.admin;

import com.iespring.bean.admin.user.bo.ConfigExpressBo;
import com.iespring.bean.admin.user.entity.MallUser;
import com.iespring.bean.admin.user.vo.*;
import com.iespring.bean.common.BasePageInfo;
import com.iespring.bean.common.BaseRespVo;
import com.iespring.bean.common.CommonData;
import org.apache.shiro.authc.UsernamePasswordToken;

public interface AdminAuthService {
    LoginUserVo login (UsernamePasswordToken token);

    AuthInfoVo info();

    DashBoardVo dashboard();

    CommonData userList(BasePageInfo basePageInfo);

    BaseRespVo userUpdate(MallUser mallUser);

    CommonData addressList(BasePageInfo basePageInfo);

    MallUser userDetail(Integer id);

    CommonData collectList(BasePageInfo basePageInfo);

    CommonData footprintList(BasePageInfo basePageInfo);

    CommonData historyList(BasePageInfo basePageInfo);

    CommonData feedbackList(BasePageInfo basePageInfo);

    StatUserVo statUser();

    StatUserVo statOrder();

    StatUserVo statGoods();

    ConfigMallVo configMall();

    void updateConfigMall(ConfigMallVo configMallVo);

    ConfigExpressVo configExpress();

    void updateConfigExpress(ConfigExpressBo configExpressBo);
}
